import {createRouter,createWebHistory,RouteRecordRaw} from 'vue-router'


const routes:Array<RouteRecordRaw> = [
    {
        path:'/',
        name:'login',
        component:()=>import('../view/Login/login.vue'),
    },
    {
        path:'/Showlogin',
        name:'Showlogin',
        component:()=>import('../view/Login/Showlogin.vue'),//登录列表
    },
    {
        path:'/UserLogin',
        name:'UserLogin',
        component:()=>import('../view/User/UserLogin.vue'),
    },
    {
        path:'/UserEaxt/:UId',
        name:'UserEaxt',
        component:()=>import('../view/User/UserEaxt.vue'),
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router
